/* CSS reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

html, body {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}
#page {
	background: -moz-linear-gradient(top,  #ff7400 29%, #d89803 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(29%,#ff7400), color-stop(100%,#d89803)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff7400 29%,#d89803 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff7400 29%,#d89803 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7400', endColorstr='#d89803',GradientType=0 ); /* IE6-9 */
	width: 100%;
	height: auto;
	margin: 0 auto 0 auto;
	position: relative;
	padding: 0px;
	background: url(../img/bg.png) repeat-x #FF7400 bottom;
}
#container {
	width: 95%;
	height: auto;
	min-height: 36em;
	margin: 0 auto 0 auto;
	background-color: #fecc5a;
	background: url('../img/bg_container.gif') repeat;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}
#menu {
	height: 8.8em;
	margin: 0 auto 0 auto;
	background-color: #000000;
	-moz-border-radius-bottom: 0px 0px 10px 10px;
	-ms-border-radius: 0px 0px 10px 10px;
	-webkit-border-radius: 0px 0px 10px 10px;
	border-radius: 0px 0px 10px 10px;
}
#menu img {
	width: 5.8em;
}
#menu ul, #recursos ul {
	list-style: none;
}
#menu ul li a {
	float: left;
}
#menu ul li a {
	padding-left: 2%;
	padding-right: 2%;
	padding-top: 0.5em;
	width: 20%;
	text-decoration: none;
	text-align: center;
	max-width: 99%;
	font-size: 100%;
	color: #C47502;
}
#recursos {
	clear: both;
	width: 100%;
	height: 3em;
	min-height: 30px;
	margin: 0 auto 0 auto;
	background: #a05903; /* Old browsers */
	background: -moz-linear-gradient(top,  #a05903 0%, #c47403 44%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a05903), color-stop(44%,#c47403)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a05903 0%,#c47403 44%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a05903 0%,#c47403 44%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a05903 0%,#c47403 44%); /* IE10+ */
	background: linear-gradient(to bottom,  #a05903 0%,#c47403 44%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a05903', endColorstr='#c47403',GradientType=0 ); /* IE6-9 */
	-moz-border-radius-bottom: 0px 0px 10px 10px; /* Firefox*/
	-ms-border-radius: 0px 0px 10px 10px; /* IE 8.*/
	-webkit-border-radius: 0px 0px 10px 10px; /* Safari,Chrome.*/
	padding-bottom:10px;
}
#recursos img {
	max-width: 2.5em;
}
#recursos ul li {
	float: left;
	padding-right: 10%;
	padding-top: 2px;
	width: 13%;
	text-decoration: none;
	text-align: center;
	font-size: 100%;
}
.recurso{
	margin-top: 0.6em;
	margin-left: -1em;
	margin-right: 1em;
	border-radius: 5px;
	border: solid 1px #DFB34F;
	box-shadow: 0 0 2px #453718;
	background: #fecc5a; /* Old browsers */
	background: -moz-linear-gradient(top,  #fecc5a 0%, #dba436 100%, #05abe0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fecc5a), color-stop(100%,#dba436), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fecc5a 0%,#dba436 100%,#05abe0 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fecc5a', endColorstr='#05abe0',GradientType=0 ); /* IE6-9 */

}
.active {
	background-color: #333;
}
#logout {
	position: fixed;
	top: 0px;
	right: -1em;
}
#logout img {
	max-width: 70%;
}
#recursos {
	clear: both;
	width: 85%;
	height: 2.8em;
	margin: 0 auto 0 auto;
	background-color: #C47403;
	-moz-border-radius-bottom: 0px 0px 10px 10px; /* Firefox*/
	-ms-border-radius: 0px 0px 10px 10px; /* IE 8.*/
	-webkit-border-radius: 0px 0px 10px 10px; /* Safari,Chrome.*/
	border-radius: 0px 0px 10px 10px; /* El est�ndar.*/
	border-left: 1px solid black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
}
#recursos img {
	max-width: 2em;
}
#recursos ul li {
	float: left;
	padding-left: 2%;
	padding-right: 10%;
	padding-top: 2%;
	width: 12%;
	text-decoration: none;
	text-align: center;
}
#content {
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 2em;
	padding-bottom: 1em;
}

/*Ajuste de botones y parrafos para verlo bien en portrait*/

input.botonheight {
	/*height: 30%;  no furula  */
	width: 30%;
	display: block;
	margin: 0 auto 4%;
	max-height: 100%;
}
/*Fin ajuste de botones y parrafos para verlo bien en portrait*/

/*Pagina atacar*/
#estandarte_izq {
	float: left;
	width: 15%;
}
.estandarte img {
	max-width: 85%;
}
#estandarte_der {
	float: right;
	width: 15%;
}
#puntuacion_atacar {
	font-size: 70%;
	float: left;
	width: 70%;
	height: auto;
}
#puntuacion_atacar li {
	list-style: none;
	width: 40%;
	height: 1.5em;
	background-color: #8EA7AA;
	margin-top: 1%;
	margin-left: 30%;
	padding-top: 1%;
}
.noFloat {
	clear: both;
}
.floatLeft {
	float: left;
	clear: both;
}

input[type=submit] {
	background-color: #8EA7AA;
	color: #fff;
	font-weight: bold;
	padding: 2px 8px;
	border: 1px solid #999999;
	border-radius: 8px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 10px;
	max-width: 100%;
}
input[type=submit]:hover, input[type=submit]:focus {
	background-color: #697D80;
	border-color: #666;
}
.hrstyleAtacar {
	color: red;
	width: 75%;
	margin-right: 10%;
	margin-left: 9%;
	margin-top: 3%;
	border-color: #C47403;
}
/*Fin pagina atacar*/

/* Pagina perfil */
.perfil{
	/*top right bottom left*/
	margin: 1em 10% 1em 7%;
}
.perfil form{
	margin: 0.5em 10% 1em -10%;
}
.perfil input[type=submit]{
	float:right;
}
.perfil input[type=text]{
	float:right;
}
.avatar{
	clear:both;
	max-width: 80%;
	border: 5px double #C47403;
	box-shadow: 0px 0px 1px #000;
	margin-left:5%;
	margin-bottom: 1em;
}
.cajaPerfil{
	clear:both;
	width:100%;
	max-width:50em;
	float:left;
	text-align: center;
	padding: 1em;
	margin: 10px;
	margin-left:-10;
	background-color:#fdf0dc;
	border-radius: 10px;
	border: 1px solid #C45900;
	box-shadow: 2px 2px 2px #C45900;
}
#datosPersonales p{
	margin-bottom: -0.4em;
}
#datosPersonales p:first-child{
	margin-top: 0.8em;
}
.listaEdificios img{
	float:left;
	max-width: 40%;
	margin-top:0.5em;
	margin-right: 2%;
	margin-left:0.5em;
	box-shadow: 2px 2px 3px #999;
	border-radius: 10px;
}
.listaEdificios p{
	float:left;
	font-size:1.2em;
	color:#555;
	margin-top: 0.5em;
	margin-left:-41%;
	text-decoration: underline;
	text-shadow: 1px 1px 1px #000;
}
.mejoras_img {
	width: 90%;
	max-width: 25em;
	margin-bottom: 0em;
	border: 5px double #C47403;
	box-shadow: 0px 0px 1px #000;
	margin-left: -5%;
}
#nom_mejora {
	display: block;
	background: #a05903; /* Old browsers */
	background: -moz-linear-gradient(top,  #a05000 0%, #c47403 44%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a05903), color-stop(44%,#c47403)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a05000 0%,#c47403 44%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a05000 0%,#c47403 44%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a05000 0%,#c47403 44%); /* IE10+ */
	background: linear-gradient(to bottom,  #a05000 0%,#c47403 44%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a05000', endColorstr='#c47403',GradientType=0 ); /* IE6-9 */
	width: 90%;
	height: auto;
	padding-top: 0.5em;
	margin-left: 2%;
	margin-bottom: 1em;
	font-size: 120%;
	border-bottom: 2px solid #C47403;
	border-right: 2px solid #C47403;
	border-left: 2px solid #C47403;
	border-radius: 0px 0px 10px 10px;
}
/* Fin pagina perfil */



/*Pagina construir*/

div.pri {
	padding: 10px 5px 10px 5px;
	/*background-color:#c47403;*/
	border-width: medium;
	border-style: outset;
	display: block;
	box-shadow: 1px 1px 30px #885102;
	background-image: -moz-radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	background-image: radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	border-radius: 10px 10px 10px 10px;
	/*border: 0.3em solid #9a5b01;*/
	-moz-border-top-colors: #9a5b01;
	-moz-border-left-colors: #9a5b01;
	width: 60%;
	margin: 0 auto 4%;
	text-align: center;
}
img.construir {
	max-width: 100%;
	width: 75%;
	margin-top: 1em;
	margin-bottom: 0.4em;
}
input.pri {
	height: 8%;
}
.hrstyle{
	width:75%;
	margin-right:10%;
	margin-left:10%;
	border-color:#C47403;
}
.estilosFuente{
	color:#C47403;
}
.estilosFuente:hover{
	color:#C47403;
}
.estilosFuente:visited{
	color:#C47403;
}
.estilosFuente:link{
	color:#C47403;
}
.estilosFuente:active{
	color:#C47403;
}
.ajuste{
	margin-bottom:-1%;
	text-align:center;
}
.ajuste2{
	text-align:center;
	margin-bottom:-2%;
}
.cantidadAjuste{
	text-align:right;
	margin-right:10%;
	margin-top:-20px;
}
/*Fin pagina construir*/

/* Pagina rank */
#tercero, #segundo, #primero {
	width: 30%;
	float: left;
	background-color: #c47403;
	border-radius: 10px 10px 10px 10px;
	margin-top: 2px;
	margin-right: 0.1em;
	margin-left: 0.1em;
	border: 0.2em solid #9a5b01;
	text-align: center;
}
#primero {
	height: 8em;
}
#segundo {
	height: 6em;
	margin-top: 2em;
}
#tercero {
	height: 4em;
	margin-top: 4em;
}
.clear {
	clear: both;
}
#podium {
	margin-bottom: 45%;
}
.rank {
	background-color: #FECC5A;
	border: solid 2px #D89803;
	box-shadow: 0px 0px 10px #D89803;
	border-radius: 10px 10px 10px 10px;
	float: left;
	width: 36%;
	height: 2em;
	/* top  left bottom right */
	margin: 2em 0px 5em 0px;
}
.rank:first-child {
	width: 27%;
	margin-left: 6%;
	margin-top: 5em;
}
.rank:last-child {
	width: 20%;
	margin-top: 7.2em;
}
.rank img {
	margin-top: 1em;
	max-width: 75%;
}
div.titulo {
	font-size: 1.8em;
}
.spanPos{
	float:left;
	margin-left:2%;
}
.spanUser{
	float:left;
	margin-left:5%;
}
.spanRank{
	float:right;
	margin-right:2%;
}
/* Fin pagina rank */

/*Pagina buzon*/
.side_contenedor {
	font-size:20px;
	background-color: #FDF0DC;
	text-shadow: 0em 0em #000;
	box-shadow: 1px 1px 24px #885102;
	padding: 10px;
	height: 50px;
}
.side_contenedor:last-child {
	border-radius: 0px 0px 10px 10px;
	background-color: #DFB34F;
}
.mensajes_entradas {
	font-family: 'Short Stack', cursive;
	background-color:#008000;
}
.vacia {
	display: none;
}
.me_cargo {

	cursor: wait;
}
.cargado{
	background-color:#008000;

	/*font-family:constantia, palatino, times new roman;*/
	font-size: 1em;

}
.entrada_salida {
	margin-left: 25%;
	margin-right: 25%;
}
.entrada_salida:first-child {
	float: left;
}
.entrada_salida:last-child {
	float: right;
}
.side_contenedor:first-child {
	border-radius: 10px 10px 0px 0px;
}
.side_contenedor:last-child {
	border-radius: 0px 0px 10px 10px;
}

.side_contenedor:first-child {
	border-radius: 10px 10px 0px 0px;
	background-color: #DFB34F;
	height: 2.2em;
}
.side_contenedor:last-child {
	border-radius: 0px 0px 10px 10px;
	background-color: #DFB34F;
}

.entradas_fondo{
	background-color:#FDF0DC;
	clear:both;
	width:auto;
	margin: 0 auto;
	box-shadow: 0px 0px 1px #000;
	padding-bottom:10px;
	padding-top:5px;
/*	clear:both;
	width: 10em;
	height: 10em;
	float: left;
	border: 5px double #C47403;
	box-shadow: 0px 0px 1px #000;
	margin-right:4em;
	*/
}
.barrahr {
	width: 80%;
	height: 2px;
	border: 1;
	border-top: 1px solid #fff;
}
.error_buz{
	background-color: red;
	border-radius: 10px;
	border: solid 1px #000;
	padding: 3px;
	margin-bottom: 5px;
}
.ok_buz{
	background-color: green;
	border-radius: 10px;
	border: solid 1px #000;
	padding: 3px;
	margin-bottom: 5px;
}
.separador {
	width: 0px;
	height: 85%;
	border-style: solid;
	border-left-color: #895002;
	border-right-color: #c47403;
	border-left-width: 4px;
	border-right-width: 4px;
}

.derecha {
	float: right;
}
span.buzon{
	
}
.izquierda {
	margin-left: 5px;
	float: left;
}
.izquierda>checkbox{
	margin-left: 5px;
	float: left;
	
}
input[type=checkbox]{
	margin-top:8.6px;
}
.cursor {
	cursor: pointer ,auto;
}
.img_buzon{
	width:80px;
}
img.acciones{
	width:20px;
}
.enviar_mensaje {
	background-color: #FCCD5C;
	width: 94%;
	box-shadow: 1px 1px 30px #885102;
	border-radius: 20px;
	padding: 15px 15px 15px 15px;
	/* background-image: -moz-radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	 background-image: radial-gradient(center 50deg,circle cover, #f19f2a, #c47403);
	 */
	background: -moz-linear-gradient(center 340deg,#FCCD5C, #E2B148);
	border: 2px solid #c47403;
}
/*Fin pagina buzon*/

.centrar {
	text-align: center;
}
h2 {
	margin-bottom: 0.5em;
}
#izq {
	display: none;
}
#der {
	display: none;
}
#tabla_construir a {
	display: none;
}

@media screen and (max-width: 545px) {
	#menu {
		height: 8em;
		margin: 0 auto 0 auto;
		background-color: #000000;
		-moz-border-radius-bottom: 0px 0px 10px 10px; /* Firefox*/
		-ms-border-radius: 0px 0px 10px 10px; /* IE 8.*/
		-webkit-border-radius: 0px 0px 10px 10px; /* Safari,Chrome.*/
		border-radius: 0px 0px 10px 10px; /* El est�ndar.*/
	}
	#menu img {
		width: 5em;
	}
}